package com.ruoyi.sales.service;

import java.util.List;
import com.ruoyi.sales.domain.ZcStoreEnter;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 入库Service接口
 *
 * @author woo
 * @date 2024-04-11
 */
public interface IZcStoreEnterService extends IService<ZcStoreEnter> {
    /**
     * 查询入库
     *
     * @param enterId 入库主键
     * @return 入库
     */
    public ZcStoreEnter selectZcStoreEnterByEnterId(Long enterId);

    /**
     * 查询入库列表
     *
     * @param zcStoreEnter 入库
     * @return 入库集合
     */
    public List<ZcStoreEnter> selectZcStoreEnterList(ZcStoreEnter zcStoreEnter);

    /**
     * 新增入库
     *
     * @param zcStoreEnter 入库
     * @return 结果
     */
    public int insertZcStoreEnter(ZcStoreEnter zcStoreEnter);

    /**
     * 修改入库
     *
     * @param zcStoreEnter 入库
     * @return 结果
     */
    public int updateZcStoreEnter(ZcStoreEnter zcStoreEnter);

    /**
     * 批量删除入库
     *
     * @param enterIds 需要删除的入库主键集合
     * @return 结果
     */
    public int deleteZcStoreEnterByEnterIds(Long[] enterIds);

    /**
     * 删除入库信息
     *
     * @param enterId 入库主键
     * @return 结果
     */
    public int deleteZcStoreEnterByEnterId(Long enterId);

    int checkZcStoreEnter(ZcStoreEnter zcStoreEnter);

    List<ZcStoreEnter> checkAllStatus();

}